<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>7的倍数和</title>
	</head>
	<body>
		<script>
		    var count = 0;
			for(var num=1;num<=50;num++){
				if(num%7==0){
					count=count + num;
				}
			}
			alert(count);
		</script>
	</body>
</html>
